/*
 * @Author: yuanming
 * @Date: 2024-06-30 08:01:12
 * @LastEditors: yuanming
 * @LastEditTime: 2024-08-27 11:07:33
 * @Description: fileDescription
 */
// 更改图标字体大小的方法
export const nowSize = (val, initWidth = 1920) => {
    // 当前视口宽度
    const nowClientWidth = document.documentElement.clientWidth
    return val * (nowClientWidth / initWidth)
}